﻿using System;
using System.Collections.Generic;
using System.Text;
using OpenLab.DAL;
using OpenLab.Model;

namespace OpenLab.BLL
{

    public partial class MedecinBLL : OpenLab.BLL.IMedecinBLL
    {
        public Medecin Add(Medecin medecin)
        {
            return new MedecinDAL().Add(medecin);
        }

        public int DeleteById(int id)
        {
            return new MedecinDAL().DeleteById(id);
        }

		public int Update(Medecin medecin)
        {
            return new MedecinDAL().Update(medecin);
        }
        

        public Medecin GetById(int id)
        {
            return new MedecinDAL().GetById(id);
        }
		public int GetTotalCount()
		{
			return new MedecinDAL().GetTotalCount();
		}
		
		public IEnumerable<Medecin> GetPagedData(int minrownum,int maxrownum)
		{
			return new MedecinDAL().GetPagedData(minrownum,maxrownum);
		}
		
		public IEnumerable<Medecin> GetAll()
		{
			return new MedecinDAL().GetAll();
		}
    }
}
